package com.luyun.frogpay.base.dagger.fragment.component;

import android.content.Context;

import com.luyun.frogpay.base.annotator.ContextForActivity;
import com.luyun.frogpay.base.annotator.ContextForApplication;
import com.luyun.frogpay.base.annotator.PerformFragment;
import com.luyun.frogpay.base.dagger.app.component.ApplicationComponent;
import com.luyun.frogpay.base.dagger.fragment.module.FragmentModule;

import dagger.Component;

/**
 * @author 无人区
 * @date 2019/10/27 15:45
 * @desc:
 */
@PerformFragment
@Component(
        dependencies = ApplicationComponent.class,
        modules = FragmentModule.class
)
public interface FragmentComponent {

    @ContextForActivity
    Context getActivityContext();

    @ContextForApplication
    Context getApplicationContext();
}
